package com.compus.constant;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum EnableStatus {


    ENABLE(0, "启用"),

    DISABLE(1, "禁用");

    @EnumValue
    private final Integer code;

    @JsonValue
    private final String desc;

}
